package com.zhaotianhao.springboot_demo_fire.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author Z-7
 * @Date 2022/3/24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserException extends RuntimeException{
    /**
     * 错误码
     */
    private Integer code;
    /**
     * 提示信息
     */
    private String message;
}
